<?php
    $this->load->view('wx/public/header.html', [
        'time' => time(),
        'index' => 1,
        'css' => [
            'assets/wx/css/index.css',
            'assets/library/aui/css/aui-slide.css'
        ]
    ]);
?>

<body ng-controller="wx-index-controller">
<?php
    $this->load->view('wx/comp/search.html');
?>
<!--幻灯片-->
<div id="aui-slide3" style="margin-top: 2.2rem;">
    <div class="aui-slide-wrap" >
        <?php foreach($slider as $s):?>
        <div class="aui-slide-node bg-dark">
            <a href="/base?baseId=<?=$s['baseId']?>">
                <img src="<?=$s['thumb']?>" />
            </a>
        </div>
        <?php endforeach;?>
    </div>
    <div class="aui-slide-page-wrap"></div>
</div>

<section class="aui-content aui-margin-t-5 gu-content">
    <div class="wrapper">
        <div class="wall" style="overflow: hidden;"></div>
    </div>
</section>

<section ng-show="loading" style="margin-top: 50px;" class="aui-content aui-text-center gu-order-empty">
    <img src="/assets/wx/img/reading.gif" alt="">
</section>

<?php
    $this->load->view('wx/public/footer.html', [
        'time' => time(),
        'js' => [
            'assets/library/aui/script/aui-slide.js',
            'assets/wx/js/index/jaliswall.js',
            'assets/wx/js/index/index.js'
        ]
    ]);
?>
